const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.userinfo.name,
  userId: state => state.user.userinfo.id,
  newroutes: state => state.user.newroutes,
  btnlist: state => state.user.btnlist
}
export default getters
